package com.dragon.sdgp.util.defaultGenerate.strategy;

import com.dragon.sdgp.util.CommonUtil;
import com.dragon.sdgp.util.defaultGenerate.DefaultDataSources;

/**
 * @AUTHOR : Dragon_Yang
 * @File : CityGenerateStrategy
 * @DESCRIPTION :
 * @DATE : 2023/3/17 18:06
 */
public class CityGenerateStrategy implements GenerateStrategy{
    @Override
    public String createOne() {
        return createCity();
    }

    private String createCity(){
        return CommonUtil.getOneRandomInArray(DefaultDataSources.CHINESE_CITY);
    }
}
